using System;
using System.Collections.Generic;
using System.Text;

namespace Fzid_models
{
    public class RealTimeModel
    {
        private string _address;

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        private string _areaCode;

        public string AreaCode
        {
            get { return _areaCode; }
            set { _areaCode = value; }
        }
        private string _devCode;

        public string DevCode
        {
            get { return _devCode; }
            set { _devCode = value; }
        }
        private string _simCode;

        public string SimCode
        {
            get { return _simCode; }
            set { _simCode = value; }
        }
        private string _maxValueTime;

        public string MaxValueTime
        {
            get { return _maxValueTime; }
            set { _maxValueTime = value; }
        }
        private string _maxValue;

        public string MaxValue
        {
            get { return _maxValue; }
            set { _maxValue = value; }
        }
        private string _minValueTime;

        public string MinValueTime
        {
            get { return _minValueTime; }
            set { _minValueTime = value; }
        }
        private string _minValue;

        public string MinValue
        {
            get { return _minValue; }
            set { _minValue = value; }
        }
        private string _avgValue;

        public string AvgValue
        {
            get { return _avgValue; }
            set { _avgValue = value; }
        }
        private string _voltage;

        public string Voltage
        {
            get { return _voltage; }
            set { _voltage = value; }
        }
        private string _status;

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public override string ToString()
        {

            return "_address" + _address + "\r\n" +
                "_areaCode=" + _areaCode + "\r\n" +
                "_devCode=" + _devCode + "\r\n" +
                "_maxValueTime=" + _maxValueTime + "\r\n" +
                "_maxValue=" + _maxValue + "\r\n" +
                "_minValueTime=" + _minValueTime + "\r\n" +
                "_minValue=" + _minValue + "\r\n" +
                "_simCode=" + _simCode + "\r\n" +
                "_voltage=" + _voltage + "\r\n" +
                "_status=" + _status + "\r\n";
        }
    }
}
